set -xe
gcc -o main main.m -L /usr/lib/ -L /usr/lib/GNUstep/Bundles/libgnustep-back-029.bundle/ -lobjc -lgnustep-base -lgnustep-gui -I /usr/include/GNUstep/ -I /usr/include/GNUstep/GNUstepBase/ -I /usr/lib/gcc/x86_64-linux-gnu/12/include/objc/ -fconstant-string-class=NSConstantString
gcc -o desktop-pet desktop-pet.m -L /usr/lib/ -L /usr/lib/GNUstep/Bundles/libgnustep-back-029.bundle/ -lobjc -lgnustep-base -lgnustep-gui -I /usr/include/GNUstep/ -I /usr/include/GNUstep/GNUstepBase/ -I /usr/lib/gcc/x86_64-linux-gnu/12/include/objc/ -fconstant-string-class=NSConstantString

gcc -o sound-noti sound-noti.m -L /usr/lib/ -L /usr/lib/GNUstep/Bundles/libgnustep-back-029.bundle/ -lobjc -lgnustep-base -lgnustep-gui -I /usr/include/GNUstep/ -I /usr/include/GNUstep/GNUstepBase/ -I /usr/lib/gcc/x86_64-linux-gnu/12/include/objc/ -fconstant-string-class=NSConstantString `pkg-config --libs --cflags libnotify` -fobjc-exceptions

gcc -o nice-ui nice-ui.m -L /usr/lib/ -L /usr/lib/GNUstep/Bundles/libgnustep-back-029.bundle/ -lobjc -lgnustep-base -lgnustep-gui -I /usr/include/GNUstep/ -I /usr/include/GNUstep/GNUstepBase/ -I /usr/lib/gcc/x86_64-linux-gnu/12/include/objc/ -fconstant-string-class=NSConstantString `pkg-config --libs --cflags libnotify` -fobjc-exceptions